package org.edu.modules.growth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
@TableName("ve_jscz_accident")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class VeJsczAccident {

    /**主键id*/
    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "终端")
    @TableField(value = "terminalId")
    private Long terminalId;

    @ApiModelProperty(value = "教师的userId")
    @TableField(value = "teacherUserId")
    private Long teacherUserId;

    @ApiModelProperty(value = "工号")
    @TableField(value = "GH")
    private String GH;

    @ApiModelProperty(value = "姓名")
    @TableField(value = "XM")
    private String XM;

    @ApiModelProperty(value = "事故录入用户id")
    @TableField(value = "createUserId")
    private Long createUserId;

    @ApiModelProperty(value = "事故录入时间")
    @TableField(value = "createTime")
    private Long createTime;

    @ApiModelProperty(value = "事故发生时间")
    @TableField(value = "accidentTime")
    private Long accidentTime;

    @ApiModelProperty(value = "学期id")
    @TableField(value = "semId")
    private Long semId;

    /**事故级别*/
    @Excel(name = "事故级别", width = 12)
    @ApiModelProperty(value = "事故级别 1-一级事故..")
    @TableField(value = "levelCode")
    private Integer levelCode;

    /**事故描述*/
    @ApiModelProperty(value = "事故描述")
    @TableField(value = "description")
    private String description;

    @Excel(name = "认定状态", width = 12)
    @ApiModelProperty(value = "是否已经认证（0未认定，1认定中，2已认定）")
    @TableField(value = "checkStatus")
    private Integer checkStatus;

    /**认定结果*/
    @Excel(name = "认定结果", width = 12)
    @ApiModelProperty(value = "事故认定结果认定结果（分为初始状态0、通过1、不通过-1）")
    @TableField(value = "checkResult")
    private Integer checkResult;

    @Excel(name = "教务处认定结果", width = 16)
    @ApiModelProperty(value = "教务处是否认定（0未认定，1通过，-1为通过）")
    @TableField(value = "jwcCheckStatus")
    private Integer jwcCheckStatus;

    @Excel(name = "督导处认定意见", width = 18)
    @ApiModelProperty(value = "督导处认定意见")
    @TableField(value = "jwcSuggest")
    private String jwcSuggest;

    @Excel(name = "教务处认定时间", width = 12)
    @ApiModelProperty(value = "教务处认定时间")
    @TableField(value = "jwcCheckTime")
    private Long jwcCheckTime;

    /**校长认定结果*/
    @Excel(name = "校长认定结果", width = 16)
    @ApiModelProperty(value = "校长是否认定（0未认定，1通过，-1不通过）")
    @TableField(value = "xzCheckStatus")
    private Integer xzCheckStatus;

    @Excel(name = "校长认定意见", width = 18)
    @ApiModelProperty(value = "校长认定意见")
    @TableField(value = "xzSuggest")
    private String xzSuggest;

    /**校长认定时间*/
    @Excel(name = "校长认定时间", width = 16)
    @ApiModelProperty(value = "校长认定时间")
    @TableField(value = "xzCheckTime")
    private Long xzCheckTime;

    @Excel(name = "校长认定用户id", width = 16)
    @ApiModelProperty(value = "校长认定用户id")
    @TableField(value = "xzCheckUserId")
    private Long xzCheckUserId;

    @Excel(name = "年份", width = 8)
    @ApiModelProperty(value = "事故发生年份")
    @TableField(value = "year")
    private Integer year;

    @ApiModelProperty(value = "事故所属院系id")
    @TableField(value = "falId")
    private Long falId;

    @ApiModelProperty(value = "事故所属的教研组id")
    @TableField(value = "jyzId")
    private Long jyzId;


}
